package com.leyou.service;

import com.leyou.item.dto.SpecGroupDTO;
import com.leyou.item.dto.SpecParamDTO;

import java.util.List;

/**
 * @author xiuer
 * @date 2019/6/26 20:51
 */
public interface ISpecService {
    List<SpecGroupDTO> querySpecGroupByid(Long id);

    List<SpecParamDTO> querySepcParams(Long gid, Long cid, Boolean searching);

    void insertSpecGroup(SpecGroupDTO specGroupDTO);

    void insertSpecParam(SpecParamDTO specParamDTO);

    void updateSepcParam(SpecParamDTO specParamDTO);

    List<SpecGroupDTO> querySpecGroupAndParams(Long cid);
}
